\hypertarget{class_q_qt_message}{}\section{Q\+Qt\+Message Class Reference}
\label{class_q_qt_message}\index{Q\+Qt\+Message@{Q\+Qt\+Message}}


语法类 定义报文格式  




{\ttfamily \#include $<$qqtmessage.\+h$>$}

Inheritance diagram for Q\+Qt\+Message\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{class_q_qt_message}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_message_a73676d445ae6c57038c5f15d3f827cae}\label{class_q_qt_message_a73676d445ae6c57038c5f15d3f827cae}} 
{\bfseries Q\+Qt\+Message} (Q\+Object $\ast$parent=0)
\item 
virtual quint16 \mbox{\hyperlink{class_q_qt_message_aa787045396462da8a56651e40dec7896}{minlength}} () const
\begin{DoxyCompactList}\small\item\em 最小报文长 这个函数不会更改局部变量 \end{DoxyCompactList}\item 
virtual quint16 \mbox{\hyperlink{class_q_qt_message_a141c945cf249d2cc7be8938078908e1f}{maxlength}} () const
\begin{DoxyCompactList}\small\item\em 最大报文长 这个函数不会更改局部变量 \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}{packer}} (Q\+Byte\+Array \&) const
\begin{DoxyCompactList}\small\item\em 将报文组装为流 这个函数不会更改局部变量 \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}{parser}} (const Q\+Byte\+Array \&)
\begin{DoxyCompactList}\small\item\em 从流中解析报文 这个函数会更改局部变量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
语法类 定义报文格式 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_message_a141c945cf249d2cc7be8938078908e1f}\label{class_q_qt_message_a141c945cf249d2cc7be8938078908e1f}} 
\index{Q\+Qt\+Message@{Q\+Qt\+Message}!maxlength@{maxlength}}
\index{maxlength@{maxlength}!Q\+Qt\+Message@{Q\+Qt\+Message}}
\subsubsection{\texorpdfstring{maxlength()}{maxlength()}}
{\footnotesize\ttfamily virtual quint16 Q\+Qt\+Message\+::maxlength (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



最大报文长 这个函数不会更改局部变量 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_message_aa787045396462da8a56651e40dec7896}\label{class_q_qt_message_aa787045396462da8a56651e40dec7896}} 
\index{Q\+Qt\+Message@{Q\+Qt\+Message}!minlength@{minlength}}
\index{minlength@{minlength}!Q\+Qt\+Message@{Q\+Qt\+Message}}
\subsubsection{\texorpdfstring{minlength()}{minlength()}}
{\footnotesize\ttfamily virtual quint16 Q\+Qt\+Message\+::minlength (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



最小报文长 这个函数不会更改局部变量 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}\label{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}} 
\index{Q\+Qt\+Message@{Q\+Qt\+Message}!packer@{packer}}
\index{packer@{packer}!Q\+Qt\+Message@{Q\+Qt\+Message}}
\subsubsection{\texorpdfstring{packer()}{packer()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Message\+::packer (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



将报文组装为流 这个函数不会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em l} & \\
\hline
{\em m} & \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_cedian_udp_message_aed165a7308447aaeba44d20aab21dc4d}{Cedian\+Udp\+Message}}, \mbox{\hyperlink{class_q_qt_single_ton_named_pipe_server_message_a53a8485912978dce143a1365e6e5ed18}{Q\+Qt\+Single\+Ton\+Named\+Pipe\+Server\+Message}}, \mbox{\hyperlink{class_q_qt_client_message_afb9c1787e0bc4927111bc989e96adaa5}{Q\+Qt\+Client\+Message}}, \mbox{\hyperlink{class_q_qt_server_message_a34603726fc449dbb5cd8d8a2fd891160}{Q\+Qt\+Server\+Message}}, \mbox{\hyperlink{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}{Q\+Qt\+Client2\+Message}}, \mbox{\hyperlink{class_q_qt_client2_message_a64b7eaf964f8f2a2ef2c10088fb7e60a}{Q\+Qt\+Client2\+Message}}, \mbox{\hyperlink{class_q_qt_user_message2_a11bf04e6af5533c01b88445826019406}{Q\+Qt\+User\+Message2}}, \mbox{\hyperlink{class_q_qt_user_message1_a10565bf777393d39e5fd2de9cf356344}{Q\+Qt\+User\+Message1}}, \mbox{\hyperlink{class_q_qt_user_message3_a935dc52a0f45e3fafcb1d1bed25dc23e}{Q\+Qt\+User\+Message3}}, \mbox{\hyperlink{class_user_node0_message_af4ceb228dafb4a573ec54c89fa1075f5}{User\+Node0\+Message}}, \mbox{\hyperlink{class_user_node1_message_a12d342fefa82c5eb14dd76d34bb4319b}{User\+Node1\+Message}}, \mbox{\hyperlink{class_user_node2_message_a4dfa598c963421cfecc686cd9d94724c}{User\+Node2\+Message}}, \mbox{\hyperlink{class_user_node3_message_a57755b35ef30f7e97a112c4747277d4a}{User\+Node3\+Message}}, \mbox{\hyperlink{class_user_node4_message_a2ed30883418df021917a62ff1b27c269}{User\+Node4\+Message}}, \mbox{\hyperlink{class_user_node5_message_a156632abacd2c3d4a4b7782d6f5d54d5}{User\+Node5\+Message}}, \mbox{\hyperlink{class_user_node6_message_a01e9871b932acec420b34c8c77746715}{User\+Node6\+Message}}, \mbox{\hyperlink{class_user_node7_message_a4657923a057070effd2f19278cfb191f}{User\+Node7\+Message}}, \mbox{\hyperlink{class_user_node8_message_ad68abcd51517e7398ef28acf37eae9eb}{User\+Node8\+Message}}, \mbox{\hyperlink{class_user_node9_message_afab1c33ef6cc9ed0f0dff1adc24a156c}{User\+Node9\+Message}}, \mbox{\hyperlink{class_user_test0_message_a0f9138c6d8f36a78e6b6606ef5312469}{User\+Test0\+Message}}, \mbox{\hyperlink{class_user_test1_message_aa91a6b74efd42183cbb1a909fdc2b86c}{User\+Test1\+Message}}, \mbox{\hyperlink{class_user_test2_message_a7dedda7f8f5f49ca24fac391ba4d02d2}{User\+Test2\+Message}}, \mbox{\hyperlink{class_user_test3_message_a7c62be854d25bcab0f2c0d95d6f92c93}{User\+Test3\+Message}}, \mbox{\hyperlink{class_user_test4_message_a3fc63f87f26e82c43b4cb5f55971cde7}{User\+Test4\+Message}}, \mbox{\hyperlink{class_user_test5_message_abeaaf86a18f7483f616437ef51fd393c}{User\+Test5\+Message}}, \mbox{\hyperlink{class_user_test6_message_a9117765e40ea9be61de4d4c3da8528dc}{User\+Test6\+Message}}, \mbox{\hyperlink{class_user_test7_message_a4b9df59225f5bec202848849c836fd80}{User\+Test7\+Message}}, \mbox{\hyperlink{class_user_test8_message_adb7a902be87629d32761d5bd23a23d05}{User\+Test8\+Message}}, \mbox{\hyperlink{class_user_test9_message_a331d2fe4866837706295952962ff41c1}{User\+Test9\+Message}}, \mbox{\hyperlink{class_q_q_t_network_message_a9d1d30ef9d14a5a4586e234a00ab19d4}{Q\+Q\+T\+Network\+Message}}, \mbox{\hyperlink{class_q_qt_single_ton_named_pipe_client_message_a03f8f20ff09f6e531843dbc55304c49b}{Q\+Qt\+Single\+Ton\+Named\+Pipe\+Client\+Message}}, \mbox{\hyperlink{class_q_qt_lan_message_ad06aa6cee4485251e1c9ae53e35a2cdc}{Q\+Qt\+Lan\+Message}}, \mbox{\hyperlink{class_q_qt_named_pipe_message_a3977c2f52260318380edc09d2d1f7df0}{Q\+Qt\+Named\+Pipe\+Message}}, \mbox{\hyperlink{class_q_q_t_serial_message_a4f677828bfdb05d584c761413b6c15bc}{Q\+Q\+T\+Serial\+Message}}, \mbox{\hyperlink{class_kongzhiqi_udp_message_aa66ce04fb9924be5e181e574233bbeb7}{Kongzhiqi\+Udp\+Message}}, and \mbox{\hyperlink{class_filetransfer_message_a455e81f50ff70980649f198f8a3250ce}{Filetransfer\+Message}}.

\mbox{\Hypertarget{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}\label{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}} 
\index{Q\+Qt\+Message@{Q\+Qt\+Message}!parser@{parser}}
\index{parser@{parser}!Q\+Qt\+Message@{Q\+Qt\+Message}}
\subsubsection{\texorpdfstring{parser()}{parser()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Message\+::parser (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



从流中解析报文 这个函数会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em m} & \\
\hline
{\em l} & \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_cedian_udp_message_a7809bad122cec1a2eace34a9cad76f2b}{Cedian\+Udp\+Message}}, \mbox{\hyperlink{class_q_qt_single_ton_named_pipe_server_message_a6eaaac1ac3e80c5ff3c637defb735bb7}{Q\+Qt\+Single\+Ton\+Named\+Pipe\+Server\+Message}}, \mbox{\hyperlink{class_q_qt_client_message_a79064773c134b5a0fba051b7b3f8c130}{Q\+Qt\+Client\+Message}}, \mbox{\hyperlink{class_q_qt_server_message_a4f1ed5558eab8c286d61bfc224b0b7a7}{Q\+Qt\+Server\+Message}}, \mbox{\hyperlink{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}{Q\+Qt\+Client2\+Message}}, \mbox{\hyperlink{class_q_qt_client2_message_a62ecd0dc6ff91e806dcbfbe48ca39ac8}{Q\+Qt\+Client2\+Message}}, \mbox{\hyperlink{class_q_q_t_network_message_a56a22ccc712447fb573536a9d51b36d6}{Q\+Q\+T\+Network\+Message}}, \mbox{\hyperlink{class_q_qt_user_message2_a4b39c77bf87a9c676326c062cb64e9fa}{Q\+Qt\+User\+Message2}}, \mbox{\hyperlink{class_q_qt_single_ton_named_pipe_client_message_ab1789ea9a8ccb2829a79c94131f88c5b}{Q\+Qt\+Single\+Ton\+Named\+Pipe\+Client\+Message}}, \mbox{\hyperlink{class_q_qt_user_message1_a166f18692d123ac51dbf314717d41a5b}{Q\+Qt\+User\+Message1}}, \mbox{\hyperlink{class_q_qt_user_message3_a903199240e4029b12db72a58bc0be53b}{Q\+Qt\+User\+Message3}}, \mbox{\hyperlink{class_user_node0_message_a867122dceecf61ef1b09c30b95806914}{User\+Node0\+Message}}, \mbox{\hyperlink{class_user_node1_message_acfe0ac6d034bb3b7bc4553e44c5e41c1}{User\+Node1\+Message}}, \mbox{\hyperlink{class_user_node2_message_a306cfbfe2a1e9c226f16d5b76331c3bd}{User\+Node2\+Message}}, \mbox{\hyperlink{class_user_node3_message_a5b5f3ff430543061048b9634079287d5}{User\+Node3\+Message}}, \mbox{\hyperlink{class_user_node4_message_a758152d93aebcd76949f1fb47ea9cdd5}{User\+Node4\+Message}}, \mbox{\hyperlink{class_user_node5_message_a76fbe29793cfd72a8ad9eb7dfee40dca}{User\+Node5\+Message}}, \mbox{\hyperlink{class_user_node6_message_a4970e84895482289ed59f6425404eb5e}{User\+Node6\+Message}}, \mbox{\hyperlink{class_user_node7_message_aac02ca8afa94556daf0513c01f71caa6}{User\+Node7\+Message}}, \mbox{\hyperlink{class_user_node8_message_ab81bccac765fc5b01864f4c9fb1aca18}{User\+Node8\+Message}}, \mbox{\hyperlink{class_user_node9_message_a77088d56f6b1f98e9fdcde83de5780e7}{User\+Node9\+Message}}, \mbox{\hyperlink{class_user_test0_message_a9f00ff24d2ecec2d4b8a2cf2800921e1}{User\+Test0\+Message}}, \mbox{\hyperlink{class_user_test1_message_a8e78ea5b1ce4acf940b796018cd22008}{User\+Test1\+Message}}, \mbox{\hyperlink{class_user_test2_message_ad7a4a9e020c0ede85bee7d5e9d2c91ba}{User\+Test2\+Message}}, \mbox{\hyperlink{class_user_test3_message_a5d53280632233833c6e151a86a5add32}{User\+Test3\+Message}}, \mbox{\hyperlink{class_user_test4_message_ab3baa9085d706a56fd96b9bcfd2e99fe}{User\+Test4\+Message}}, \mbox{\hyperlink{class_user_test5_message_ac73d80522b3e900250588f84ee69b25f}{User\+Test5\+Message}}, \mbox{\hyperlink{class_user_test6_message_a1b55b1134b2a0ccfc8d5093aa86de694}{User\+Test6\+Message}}, \mbox{\hyperlink{class_user_test7_message_ae70deda008c21d6edd2a5b4bcc29590f}{User\+Test7\+Message}}, \mbox{\hyperlink{class_user_test8_message_a5dbafc420f4b46bbaafc67541df709c4}{User\+Test8\+Message}}, \mbox{\hyperlink{class_user_test9_message_ae681cf1cb8b410628887aab2c80fcdf9}{User\+Test9\+Message}}, \mbox{\hyperlink{class_q_qt_named_pipe_message_aaf7e90af917029afb616efc4d8141073}{Q\+Qt\+Named\+Pipe\+Message}}, \mbox{\hyperlink{class_q_q_t_serial_message_a9533887dc0566c5ee16990b323df94ef}{Q\+Q\+T\+Serial\+Message}}, \mbox{\hyperlink{class_q_qt_lan_message_a778629e75eb24a48b54988b25bd32250}{Q\+Qt\+Lan\+Message}}, \mbox{\hyperlink{class_kongzhiqi_udp_message_ae86374489ef208d173e840b050f1b212}{Kongzhiqi\+Udp\+Message}}, and \mbox{\hyperlink{class_filetransfer_message_a3f25d77aadf5f260ef3696d9bec4b34e}{Filetransfer\+Message}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/qqtmessage.\+h\end{DoxyCompactItemize}
